package com.ruoyi.fee.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 货转费对象 w_goods_transfer_fee_rule
 * 
 * @author wzy
 * @date 2024-08-30 14:11:06
 */
public class WGoodsTransferFeeRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规则ID */
    private Long goodsTransferFeeId;

    /** 规则类型 （0代非通用 1代表通用） */
    @Excel(name = "规则类型 ", readConverterExp = "0=代非通用,1=代表通用")
    private String ruleType;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long customerId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 免费次数 */
    @Excel(name = "免费次数")
    private Integer goodsTransferFreeTimes;

    /** 货转单价(元/吨) */
    @Excel(name = "货转单价(元/吨)")
    private Double goodsTransferPrice;

    /** 使用状态 （0代表停用 1代表使用） */
    @Excel(name = "使用状态 ", readConverterExp = "0=代表停用,1=代表使用")
    private String useStatus;

    /** 数据权限 */
    private String dataRealm;

    /** 园区代码 */
    private String parkCode;

    /** 删除标识 （0代表存在 2代表删除） */
    private String delFlag;

    public void setGoodsTransferFeeId(Long goodsTransferFeeId) 
    {
        this.goodsTransferFeeId = goodsTransferFeeId;
    }

    public Long getGoodsTransferFeeId() 
    {
        return goodsTransferFeeId;
    }
    public void setRuleType(String ruleType) 
    {
        this.ruleType = ruleType;
    }

    public String getRuleType() 
    {
        return ruleType;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setGoodsTransferFreeTimes(Integer goodsTransferFreeTimes) 
    {
        this.goodsTransferFreeTimes = goodsTransferFreeTimes;
    }

    public Integer getGoodsTransferFreeTimes() 
    {
        return goodsTransferFreeTimes;
    }
    public void setGoodsTransferPrice(Double goodsTransferPrice) 
    {
        this.goodsTransferPrice = goodsTransferPrice;
    }

    public Double getGoodsTransferPrice() 
    {
        return goodsTransferPrice;
    }
    public void setUseStatus(String useStatus) 
    {
        this.useStatus = useStatus;
    }

    public String getUseStatus() 
    {
        return useStatus;
    }
    public void setDataRealm(String dataRealm) 
    {
        this.dataRealm = dataRealm;
    }

    public String getDataRealm() 
    {
        return dataRealm;
    }
    public void setParkCode(String parkCode) 
    {
        this.parkCode = parkCode;
    }

    public String getParkCode() 
    {
        return parkCode;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsTransferFeeId", getGoodsTransferFeeId())
            .append("ruleType", getRuleType())
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("goodsTransferFreeTimes", getGoodsTransferFreeTimes())
            .append("goodsTransferPrice", getGoodsTransferPrice())
            .append("useStatus", getUseStatus())
            .append("remark", getRemark())
            .append("dataRealm", getDataRealm())
            .append("parkCode", getParkCode())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
